<?php
namespace app\admin\common\model;


use think\Model;

class Feedback extends Model
{
    protected $pk = 'id';
    protected $table = 'qi_feedback';

    protected $autoWriteTimestamp = true;
    protected $createTime = 'create_time';
    protected $updateTime = 'update_time';

    protected $dateFormat = 'Y-m-d H:i:s';


    public function getInfoById($id)
    {
        $data = Feedback::where('id',$id)->find();
        return $data;
    }

}